/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Excel.Workbooks*/
public class Workbooks extends JavaScriptObject {

	protected Workbooks() { }
	public native final ExcelApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final Workbook add( Object template)/*-{
		return this.Add( template);
	}-*/;

	public native final void close()/*-{
		this.Close( );
	}-*/;

	public native final int getCount()/*-{
		return this.Count;
	}-*/;

	public native final Workbook getItem( Object index)/*-{
		return this.Item( index);
	}-*/;

	public native final JavaScriptObject get_NewEnum()/*-{
		return this._NewEnum;
	}-*/;

	public native final Workbook _Open(String filename,  Object updateLinks,  Object readOnly,  Object format,  Object password,  Object writeResPassword,  Object ignoreReadOnlyRecommended,  Object origin,  Object delimiter,  Object editable,  Object notify,  Object converter,  Object addToMru)/*-{
		return this._Open( filename, updateLinks, readOnly, format, password, writeResPassword, ignoreReadOnlyRecommended, origin, delimiter, editable, notify, converter, addToMru);
	}-*/;

	public native final void __OpenText(String filename,  Object origin,  Object startRow,  Object dataType, int textQualifier,  Object consecutiveDelimiter,  Object tab,  Object semicolon,  Object comma,  Object space,  Object other,  Object otherChar,  Object fieldInfo,  Object textVisualLayout)/*-{
		this.__OpenText( filename, origin, startRow, dataType, textQualifier, consecutiveDelimiter, tab, semicolon, comma, space, other, otherChar, fieldInfo, textVisualLayout);
	}-*/;

	public native final Workbook get_Default( Object index)/*-{
		return this._Default( index);
	}-*/;

	public native final void _OpenText(String filename,  Object origin,  Object startRow,  Object dataType, int textQualifier,  Object consecutiveDelimiter,  Object tab,  Object semicolon,  Object comma,  Object space,  Object other,  Object otherChar,  Object fieldInfo,  Object textVisualLayout,  Object decimalSeparator,  Object thousandsSeparator)/*-{
		this._OpenText( filename, origin, startRow, dataType, textQualifier, consecutiveDelimiter, tab, semicolon, comma, space, other, otherChar, fieldInfo, textVisualLayout, decimalSeparator, thousandsSeparator);
	}-*/;

	public native final Workbook open(String filename,  Object updateLinks,  Object readOnly,  Object format,  Object password,  Object writeResPassword,  Object ignoreReadOnlyRecommended,  Object origin,  Object delimiter,  Object editable,  Object notify,  Object converter,  Object addToMru,  Object local,  Object corruptLoad)/*-{
		return this.Open( filename, updateLinks, readOnly, format, password, writeResPassword, ignoreReadOnlyRecommended, origin, delimiter, editable, notify, converter, addToMru, local, corruptLoad);
	}-*/;

	public native final void openText(String filename,  Object origin,  Object startRow,  Object dataType, int textQualifier,  Object consecutiveDelimiter,  Object tab,  Object semicolon,  Object comma,  Object space,  Object other,  Object otherChar,  Object fieldInfo,  Object textVisualLayout,  Object decimalSeparator,  Object thousandsSeparator,  Object trailingMinusNumbers,  Object local)/*-{
		this.OpenText( filename, origin, startRow, dataType, textQualifier, consecutiveDelimiter, tab, semicolon, comma, space, other, otherChar, fieldInfo, textVisualLayout, decimalSeparator, thousandsSeparator, trailingMinusNumbers, local);
	}-*/;

	public native final Workbook openDatabase(String filename,  Object commandText,  Object commandType,  Object backgroundQuery,  Object importDataAs)/*-{
		return this.OpenDatabase( filename, commandText, commandType, backgroundQuery, importDataAs);
	}-*/;

	public native final void checkOut(String filename)/*-{
		this.CheckOut( filename);
	}-*/;

	public native final boolean canCheckOut(String filename)/*-{
		return this.CanCheckOut( filename);
	}-*/;

	public native final Workbook _OpenXML(String filename,  Object stylesheets)/*-{
		return this._OpenXML( filename, stylesheets);
	}-*/;

	public native final Workbook openXML(String filename,  Object stylesheets,  Object loadOption)/*-{
		return this.OpenXML( filename, stylesheets, loadOption);
	}-*/;

}
